<template>
	<el-form ref="formModel" :model="value" :rules="rules" :label-width="labelWidth" :inline="inline" v-bind="$props"
		v-on="$listeners">
		<!-- <h4 class="orange">基础信息</h4> -->
		<el-row>
			<slot name="SysCustomerIDBefore"></slot>
			<slot name="SysCustomerID">
				<el-col :xs="24" :sm="24" :md="12" :lg="12" :xl="12">
					<el-form-item prop="SysCustomerID" :label="keyLan['SysCustomerID']+':'">
						<remoteselect v-model="value.SysCustomerID" url="api/SysCustomer/ListSelect" value-label="SysCustomerName"
							value-key="SysCustomerID" query-key="selectIDName" :placeholder="replaceID(keyLan['SysCustomerID'])" style="width:150px;">
							<template v-slot="{ row }">
								{{row.SysCustomerName}}
							</template>
						</remoteselect>
					</el-form-item>
				</el-col>
			</slot>
			<slot name="SysCustomerIDAfter"></slot>
			<slot name="EnumSysCustomerIntentionBefore"></slot>
			<slot name="EnumSysCustomerIntention">
				<el-col :xs="24" :sm="24" :md="12" :lg="12" :xl="12">
					<el-form-item prop="EnumSysCustomerIntention" :label="keyLan['EnumSysCustomerIntention']+':'">
						<el-radio-group v-model="value.EnumSysCustomerIntention">
							<el-radio v-for="item in EnumSysCustomerIntention" :key="item.Value" :value="item.Value" :label="item.Value">
								{{enumLanTxt(item.Label)}}
							</el-radio>
						</el-radio-group>
					</el-form-item>
				</el-col>
			</slot>
			<slot name="EnumSysCustomerIntentionAfter"></slot>
			<slot name="CommunicationDateBefore"></slot>
			<slot name="CommunicationDate">
				<el-col :xs="24" :sm="24" :md="12" :lg="12" :xl="12">
					<el-form-item prop="CommunicationDate" :label="keyLan['CommunicationDate']+':'">
						<el-date-picker v-model="value.CommunicationDate" type="date" :picker-options="pickerOptions">
						</el-date-picker>
					</el-form-item>
				</el-col>
			</slot>
			<slot name="CommunicationDateAfter"></slot>
			<slot name="TrainContentBefore"></slot>
			<slot name="TrainContent">
				<el-col :xs="24" :sm="24" :md="24" :lg="24" :xl="24">
					<el-form-item prop="TrainContent" :label="keyLan['TrainContent']+':'">
						<el-input type="textarea" :rows="2" v-model="value.TrainContent" style="width: 100%;"></el-input>
					</el-form-item>
				</el-col>
			</slot>
			<slot name="TrainContentAfter"></slot>
			<slot name="CommunicationContentBefore"></slot>
			<slot name="CommunicationContent">
				<el-col :xs="24" :sm="24" :md="24" :lg="24" :xl="24">
					<el-form-item prop="CommunicationContent" :label="keyLan['CommunicationContent']+':'">
						<el-input type="textarea" :rows="2" v-model="value.CommunicationContent" style="width: 100%;"></el-input>
					</el-form-item>
				</el-col>
			</slot>
			<slot name="CommunicationContentAfter"></slot>
			<slot name="RemarkBefore"></slot>
			<slot name="Remark">
				<el-col :xs="24" :sm="24" :md="24" :lg="24" :xl="24">
					<el-form-item prop="Remark" :label="keyLan['Remark']+':'">
						<el-input type="textarea" :rows="2" v-model="value.Remark" style="width: 100%;"></el-input>
					</el-form-item>
				</el-col>
			</slot>
			<slot name="RemarkAfter"></slot>
		</el-row>
	</el-form>
</template>

<script>
	import common from "@/common/common.js";
	import js from "@/Partial/SysCustomerIntention/js.js";

	export default {
		name: "SysCustomerIntentionAddEdit",
		mixins: [common.baseVM, js]
	}
</script>
